package com.itbaizhan;

/**
 * @author spf
 * @date 2024/2/1
 * @time 16:52
 */

import lombok.extern.log4j.Log4j;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * 主启动类
 */
// 开启eureka 注册服务
@EnableEurekaServer
@SpringBootApplication
@Slf4j
public class CloudEurekaServer7001Application {

    public static void main(String[] args) {
        SpringApplication.run(CloudEurekaServer7001Application.class, args);
        log.info("=========eureka服务启动========");
    }

}